package arm.dic.entity;

import arm.common.entity.ABaseDicEntity;

import javax.persistence.*;

@Entity
@Table(name = "DIC_CATEGORY")
public class DicCategory extends ABaseDicEntity
{
    private String description;
    private DicMetricType dicMetricType;

    @Basic
    @Column(name= "DESCRIPTION")
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @ManyToOne
    @JoinColumn (name= "DIC_METRIC_TYPE_ID")
    public DicMetricType getDicMetricType() {
        return dicMetricType;
    }

    public void setDicMetricType(DicMetricType dicMetricType) {
        this.dicMetricType = dicMetricType;
    }
}
